package com.ztgf.commodity.models.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ztgf.common.annotations.CustomerBigDecimalSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class CommodityPriceCheckVO implements Serializable {

    @ApiModelProperty(value = "最高价格")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal maxPrice;

    @ApiModelProperty(value = "最低价格")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal minPrice;
}
